package day11_special_file_log_code.com.itheima.d1_properties;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Demo3_Properties {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        properties.load(new FileReader(""));

        if (properties.containsKey("李芳")){
            properties.setProperty("李芳", "10");
        }
        properties.store(new FileWriter(""),"give me");
    }
}
